//
//  SelectedNumberBoxView.m
//  CaiPiao
//
//  Created by apple on 2018/5/20.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "SelectedNumberBoxView.h"
#import "SelectedNumberView.h"

@implementation SelectedNumberBoxView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(NSArray*)checkSelectedNumber{
    NSMutableArray* selectedArray = [NSMutableArray arrayWithCapacity:0];
    for (SelectedNumberView* view in self.subviews) {
        if (view.isSelected) {
            [selectedArray addObject:view.numberLabel.text];
        }
    }
    return selectedArray;
}

@end
